<template>
	<view class="zqmanage13">
		<!-- 导航栏 -->
		<!-- 		<uni-nav-bar fixed="true" statusBar="true" backgroundColor="#007AFF" color="#fff">
			<template>
				<view class="title" >政企管理</view>
			</template>
			<template slot="left">
				<uni-icons type="arrowleft" size="30" color="#fff"></uni-icons>
			</template>
		</uni-nav-bar> -->
		<!-- 头部 -->
		<view class="zqmanage13-header">
			<!-- 内容 -->
			<view class="zqmanage13-header-box">
				<view>
					<text class="iconfont zqmanage13-header-box-title" @tap="goHome">&#xe614;</text>
					<text>政企管理</text>
				</view>
				<view>
					<image src="../../static/image/contacts/userlogo.jpg" mode="scaleToFill"></image>
				</view>
			</view>
		</view>
		<view class="container">
			<view class="justifyflex topHuany">
				<view class="zqName">张三，欢迎您！</view>
				<navigator url="/pages/zqmanage13/addMsg13/addMsg13" hover-class="none">
					<uni-icons type="plus" size="30" color="#007AFF"></uni-icons>
				</navigator>
			</view>
			<view class="zqManginputBox">
				<uni-icons class="inputSearch" type="search" size="30" color="#ccc"></uni-icons>
				<input type="text" value="" placeholder="请输入关键字搜索" class="zqManageinput" />
			</view>
			<!-- 记录 -->
			<view>
				<view class="zqManageItem">
					<view class="justifyflex">
						<view>姓名：张三</view>
						<view>性别：男</view>
					</view>
					<view class="justifyflex">
						<view>学历：本科</view>
						<view>年龄：28</view>
					</view>
					<view>
						家庭住址：四川省成都市高新区华府大道360号
					</view>
					<view>
						行业：IT
					</view>
					<view class="bottomBtn">
						<navigator hover-class="none" url="/pages/zqmanage13/editMsg13/editMsg13">编辑</navigator>
						<navigator hover-class="none" url="/pages/zqmanage13/editMsg13/editMsg13">详情</navigator>
						<view @click="delItem">删除</view>
					</view>
				</view>
				<view class="zqManageItem">
					<view class="justifyflex">
						<view>姓名：张三</view>
						<view>性别：男</view>
					</view>
					<view class="justifyflex">
						<view>学历：本科</view>
						<view>年龄：28</view>
					</view>
					<view>
						家庭住址：四川省成都市高新区华府大道360号
					</view>
					<view>
						行业：IT
					</view>
					<view class="bottomBtn">
						<view>编辑</view>
						<view>详情</view>
						<view>删除</view>
					</view>
				</view>
			</view>
		</view>

	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			delItem: function() {
				uni.showToast({
					title: '删除成功',
					duration: 1500
				})
			},
			/* 返回首页 */
			goHome: function() {
				console.log(1);
				uni.switchTab({
					url: '../index/index'
				})
			},
		}
	}
</script>

<style scoped lang="less">
	/* 引入color.less */
	@import url("../../static/color.less");

	/* 引入fontSize.less */
	@import url("../../static/fontSize.less");

	/* 主体 */
	.zqmanage13 {
		background-color: #F5F5F5;
	}

	/* 头部 */
	.zqmanage13-header {
		height: 150rpx;
		position: sticky;
		top: 0;
		background-color: @masterColor;
		z-index: 900;

		/* 内容 */
		.zqmanage13-header-box {
			display: flex;
			width: 100%;
			height: 100rpx;
			position: absolute;
			bottom: 0;
			left: 0;
			color: @colorWrite;
			align-items: center;
			justify-content: space-between;

			view {
				&:first-child {
					width: 564rpx;
					font-size: @fontBigger;

					/* 标题 */
					.zqmanage13-header-box-title {
						padding-left: 34rpx;
						font-size: @fontBigger;
					}

					&>text:last-child {
						white-space: nowrap;
						overflow: hidden;
						text-overflow: ellipsis;
					}
				}

				&:last-child {
					width: 78rpx;
					margin-right: 32rpx;

					image {
						width: 78rpx;
						height: 78rpx;
						border-radius: 50%;
					}
				}

				display: flex;
				align-items: center;
			}

			/* iconfont */
			.iconfont {
				margin: 0 25rpx 0 13rpx;
				font-weight: bold;
				font-size: 55rpx;
			}
		}
	}

	page {
		background-color: #F8F8F8;
		color: #333;
	}

	.topHuany {
		/* background-color: #fff; */
		padding: 30rpx;
		border-radius: 10rpx;
	}

	.container {
		padding: 30rpx;
	}

	.justifyflex {
		display: flex;
		justify-content: space-between;
	}

	.zqManageinput {
		border: 1px solid #ccc;
		padding: 20rpx;
		border-radius: 50rpx;
		padding-left: 80rpx;
	}

	.zqManginputBox {
		position: relative;
	}

	.inputSearch {
		position: absolute;
		left: 20rpx;
		top: 50%;
		transform: translateY(-50%);
	}

	.zqManageItem {
		padding: 30rpx;
		background-color: #fff;
		margin: 20rpx 0;
		border-radius: 10rpx;
		font-size: 30rpx;
	}

	.bottomBtn {
		justify-content: space-around;
		display: flex;
		color: #666;
		margin-top: 30rpx;
	}

	.title {
		text-align: center;
		width: 100%;
		/* border: 1px solid red; */
		margin: -30rpx;
	}

	.zqName {
		font-size: 32rpx;
	}
</style>
